package com.sskj.base.api;

import android.drm.DrmStore;
import android.service.carrier.CarrierService;

import com.sskj.base.BuildConfig;

public class Constant {

    public final static String SERVER_ADDRESS = BuildConfig.BASE_URL;
    public final static int SUCCESS = 200;
    public final static String MARKET_WS = BuildConfig.MarketWS;
    public final static String PANKOU_WS = BuildConfig.PanKouWS;
    public final static int BUY = 0;
    public final static int SELL = 1;
    public final static int ALL = 2;
    public static final String LANGUAGE = "language";
    public static int OK = 200;
    public static final String THREE = "激活码";
    public static final String FOUR = "排单币";
    public static final String FIVE = "矿机积分";
    public static final String SIX = "激活积分";
    public static final String SEVEN = "宝石中介";
    public static final String EIGHT = "宝石利润";
    public static final String NINE = "宝石成本";
    public static final String TEN = "诚信积分";
    public static final String ELEVEN = "宝石分红";

    public static final String getType(int position) {
        String type = "";
        switch (position) {
            case 3:
                type = THREE;
                break;
            case 4:
                type = FOUR;
                break;
            case 5:
                type = FIVE;
                break;
            case 6:
                type = SIX;
                break;
            case 7:
                type = SEVEN;
                break;
            case 8:
                type = EIGHT;
                break;
            case 9:
                type = NINE;
                break;
            case 10:
                type = TEN;
                break;
            case 11:
                type = ELEVEN;
                break;
        }
        return type;
    }

}
